package com.kunzai.order.pojo;


import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;


@Data
@TableName("tb_order")
public class Order implements Serializable {
    @TableId("id")
    private Long id;
    private Long price;
    private String name;
    private Integer num;
    @TableField("user_id")
    private Long userId;
    private User user;
}